package com.nuc.bigdata.config;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.TimeZone;

/**
 * @author JackLuo
 * @date 2019/11/29
 */
@Component
public class TimeConfig {
    @Autowired
    TimeConfig(){
        TimeZone zone = TimeZone.getTimeZone("GMT+8");
        TimeZone.setDefault(zone);
    }
}
